package com.zhekou.web.tag;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * User: chjp
 * Date: 12-10-10
 * Time: 下午2:08
 */
public class FunctionsTag {
    public static String formatDate(int seconds) {
        SimpleDateFormat sdf = new SimpleDateFormat("MM-dd HH:mm");
        return sdf.format(new Date(seconds * 1000));
    }


}
